package com.yc.fedex.model.request.track;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TrackByReferencesRequest {

    private ReferencesInformation referencesInformation;

    private String includeDetailedScans;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @Accessors(chain = true)
    public static class ReferencesInformation {

        private String type;
        private String value;
        private String accountNumber;
        private String carrierCode;
        private String shipDateBegin;
        private String shipDateEnd;
        private String destinationCountryCode;
        private String destinationPostalCode;

    }
}



